package com.atguigu.mybatis.entity;

import lombok.Data;
import org.springframework.stereotype.Component;

@Component
@Data
public class Horse {

    private String name;
    private String color;

    public void run(){
        System.out.println("run...");
    }
}
